package com.vates.example.spring.hello;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;

@ContextConfiguration("classpath:applicationContext.xml")
public class SaludoTest extends AbstractJUnit4SpringContextTests{
	
	@Autowired
	private ApplicationContext applicationContext;
	
	@Test
	public void saludoTest(){
		System.out.println(applicationContext.getDisplayName());
	}

}
